// Decompiled on 周六 2月 22 19:31:49 CST 2025 with Zomboid Decompiler v0.1.3 using Vineflower.
package zombie.util;

import java.util.HashMap;

public final class SharedStrings {
    private final HashMap<String, String> strings = new HashMap();

    public String get(String s) {
        String string = (String)this.strings.get(s);
        if (string == null) {
            this.strings.put(s, s);
            string = s;
        }

        return string;
    }

    public void clear() {
        this.strings.clear();
    }
}
